public class TestRect01 {
    public static void main(String[] args) {
        System.out.println(calArea(10,10));
        System.out.println(calPerimeter(10,10));
    }

    public static int calArea(int height,int width) {
        return height*width;
    }

    public static int calPerimeter(int height,int width) {
        return 2*(height+width);
    }
}
